home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
C-D
/
Desktop Exec.cpt
/
Desktop Exec2
/
background_2710.txt
< prev
next >
Wrap
Text File
|
1991-10-29
|
6KB
|
287 lines
-- background: 2710 from stack: in
-- bmap block id: 3611
-- flags: 0000
-- background id: 0
-- name: File Card
----- HyperTalk script -----
on closeField
put the date into field "date"
end closeField
-- part 1 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=24 top=38 right=157 bottom=267
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 15011
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Name and Address
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=366 top=297 right=331 bottom=399
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev
----- HyperTalk script -----
on mouseUp
go to prev card
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=404 top=297 right=330 bottom=438
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
go to next card
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=328 top=297 right=331 bottom=362
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
go to first card
end mouseUp
-- part 11 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=304 top=38 right=106 bottom=495
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 15011
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Phone Number
-- part 39 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=155 top=297 right=331 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CATEGORIZE
----- HyperTalk script -----
on mouseUp
answer "Sort all cards of this stack according to:" with "First Word" or "Last Word" or "Cancel"
if it is "First Word"
then sort by first word of first line of field "Name and Address"
else if it is "Last Word"
then sort by last word of first line of field "Name and Address"
end mouseUp
-- part 43 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=23 top=182 right=268 bottom=268
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 15011
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: COMMENTS
-- part 45 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=79 top=297 right=331 bottom=113
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: new card
----- HyperTalk script -----
on mouseUp
domenu "new card"
end mouseUp
-- part 46 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=232 top=297 right=331 bottom=300
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Find...
----- HyperTalk script -----
on mouseUp
domenu "find..."
end mouseUp
-- part 51 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=117 top=297 right=331 bottom=151
-- title width / last selected line: 65535
-- icon id / first selected line: -15605 / 49931
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Trash this card
----- HyperTalk script -----
on mouseUp
answer "Are you sure you want to trash this card?" with "Yep!" or "Nope!"
if it is "Yep!"
then domenu "delete card"
end mouseUp
-- part 52 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=422 top=116 right=134 bottom=496
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: DATE
-- part 53 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=193 top=297 right=330 bottom=227
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Menu
----- HyperTalk script -----
on mouseUp
global mbState
if mbState = 0 then
show menubar
put 1 into mbState
else
hide menubar
put 0 into mbState
end if
end mouseUp
-- part 54 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=305 top=116 right=134 bottom=362
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: time
-- part 55 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=469 top=297 right=330 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Quit
----- HyperTalk script -----
on mouseUp
domenu "quit hypercard"
end mouseUp
-- part 56 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=311 top=143 right=178 bottom=345
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Call Em'
----- HyperTalk script -----
on mouseUp
get the selection
if it is empty then get first line of field "Phone Number"
if it is empty then ask "Dial what number?"
if it is not empty then
dial it
end if
end mouseUp